package com.cctc.framework.domain;


import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.cctc.framework.bean.BaseObj;

public class Tree extends BaseObj
{
    private static final long serialVersionUID = 1L;
    
    @JsonSerialize
    @JsonDeserialize
    @JsonProperty("id")
    private int id;
    
    @JsonSerialize
    @JsonDeserialize
    @JsonProperty("text")
    private String text;
    
    @JsonSerialize
    @JsonDeserialize
    @JsonProperty("state")
    private String state;
    
    @JsonSerialize
    @JsonDeserialize
    @JsonProperty("iconCls")
    private String iconCls;

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public String getText()
    {
        return text;
    }

    public void setText(String text)
    {
        this.text = text;
    }

    public String getState()
    {
        return state;
    }

    public void setState(String state)
    {
        this.state = state;
    }

    public String getIconCls()
    {
        return iconCls;
    }

    public void setIconCls(String iconCls)
    {
        this.iconCls = iconCls;
    }
    
}
